<?php
namespace app\admin\model;

use think\Model;

class Company extends Model
{
    protected $name = 'company';

    public static function Detail($where = [], $arr = []){
        $res = null;
        $res = self::where($where)->find();
        if(!empty($res)){
            $res = $res->toArray();
        }
        return $res;
    }
}